package com.lagou.homework.factory;

import com.lagou.homework.dao.UserDao;
import com.lagou.homework.dao.UserDaoImp;

/**
 *  使用静态工厂方法模式创建UserDaoImp类型的对象
 */
public class UserDaoFactory {

    public static UserDao getUserDao() {
        return new UserDaoImp();
    }

}
